import {
  handlerGetUrlParams
} from '@/utils/dealUrlParams.js'
import request from '@/utils/request'

export function getNavBrandList(param) {
  const url = handlerGetUrlParams('/system/file/columnList', param)
  return request({
    url,
    method: 'GET',
  })
}

export function deleteNavBrand(id) {
  return request({
    url:`/system/file/columnList/${id}`,
    method: 'DELETE',
  })
}

//导航报告和商标业务上传
export function uploadNavBrand(data) {
  return request({
    url: '/system/file/ManageUpload',
    method: 'POST',
    data
  })
}

export function applyNav(data) {
  return request({
    url: '/bus/apply',
    method: 'POST',
    data
  })
}

export function getApplyNav(param, data) {
  return request({
    url: '/bus/apply/list',
    method: 'GET',
    data
  })
}

export function downNum() {
  return request({
    url: '/bus/apply/addByStstistics',
    method: 'GET'
  })
}